using Nop.Core.Domain.Common;

namespace Nop.Data.Mapping.Common
{
    public partial class MessageMap : NopEntityTypeConfiguration<Message>
    {
        public MessageMap()
        {
            this.ToTable("Message");
            this.HasKey(c => c.Id);
            
            this.Property(p => p.Title).IsRequired().HasMaxLength(20);
            this.Property(p => p.AimPathParams).HasMaxLength(50);

            //Ignore Property

            //Relation Mapping

        }
    }
}
